package com.project.pojo.dto;

import com.project.entity.CmsUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @Description: 用户信息及上级用户信息
 * @Author: zhuchi
 * @CreateDate: 2020/7/1 22:57
 * @Version: 1.0
 */
@ApiModel(value = "回收员信息查询结果类")
public class UserDTO extends CmsUser {

    /**
     * 上级昵称
     */
    @ApiModelProperty(value = "上级昵称")
    private String parentName;

    /**
     * 上级真实姓名
     */
    @ApiModelProperty(value = "上级真实姓名")
    private String parentRealName;

    /**
     * 余额
     */
    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    /**
     * 冻结金额
     */
    @ApiModelProperty(value = "冻结金额")
    private BigDecimal frozenAmount;

    /**
     * 用户总充值金额（不包含系统上分）
     */
    @ApiModelProperty(value = "用户总充值金额（不包含系统上分）")
    private BigDecimal totalRechargeAmount;

    /**
     * 用户个人充值赠送总金额
     */
    @ApiModelProperty(value = "用户个人充值赠送总金额")
    private BigDecimal totalDonationAmount;

    /**
     * 用户已完成状态商品订单数量（大于0时表示新用户）
     */
    @ApiModelProperty(value = "用户已完成状态商品订单数量（大于0时表示新用户）")
    private Integer orderNum;

    /**
     * 用户已完成状态商品订单总金额
     */
    @ApiModelProperty(value = "用户已完成状态商品订单总金额")
    private BigDecimal productTotalAmount;

    /**
     * 用户已完成状态回收订单数量
     */
    @ApiModelProperty(value = "用户已完成状态回收订单数量")
    private Integer recoveryOrderNum;

    /**
     * 用户已完成状态回收订单总金额
     */
    @ApiModelProperty(value = "用户已完成状态回收订单总金额")
    private BigDecimal recoveryTotalAmount;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentRealName() {
        return parentRealName;
    }

    public void setParentRealName(String parentRealName) {
        this.parentRealName = parentRealName;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getFrozenAmount() {
        return frozenAmount;
    }

    public void setFrozenAmount(BigDecimal frozenAmount) {
        this.frozenAmount = frozenAmount;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public BigDecimal getTotalRechargeAmount() {
        return totalRechargeAmount;
    }

    public void setTotalRechargeAmount(BigDecimal totalRechargeAmount) {
        this.totalRechargeAmount = totalRechargeAmount;
    }

    public BigDecimal getTotalDonationAmount() {
        return totalDonationAmount;
    }

    public void setTotalDonationAmount(BigDecimal totalDonationAmount) {
        this.totalDonationAmount = totalDonationAmount;
    }

    public BigDecimal getProductTotalAmount() {
        return productTotalAmount;
    }

    public void setProductTotalAmount(BigDecimal productTotalAmount) {
        this.productTotalAmount = productTotalAmount;
    }

    public Integer getRecoveryOrderNum() {
        return recoveryOrderNum;
    }

    public void setRecoveryOrderNum(Integer recoveryOrderNum) {
        this.recoveryOrderNum = recoveryOrderNum;
    }

    public BigDecimal getRecoveryTotalAmount() {
        return recoveryTotalAmount;
    }

    public void setRecoveryTotalAmount(BigDecimal recoveryTotalAmount) {
        this.recoveryTotalAmount = recoveryTotalAmount;
    }
}
